/*
 * @Author: luoqi
 * @Date: 2022-03-27 15:17:10
 * @LastEditors: luoqi
 * @LastEditTime: 2022-03-28 10:37:05
 * @Description: 
 */
import Login from "../view/Login"
import Main from "../view/Main"
import Classify from "../view/Classify"
import Disease from "../view/Disease"
import Knowledeg from "../view/Knowledeg"
import Experience from "../view/Experience"
import Video from "../view/Video"
import User from "../view/User"
import Home from '../view/Home'


 const routes=[
  {
    path:'/',
    exact:true,
    element:<Login/>
  },
  {
    path:'/login',
    element:<Login/>,
  },
  {
    path:'/main',
    element:<Main/>,
    children:[
      {
        path:'home',
        element:<Home/>,
      },
      {
        path:'classify',
        element:<Classify/>,
      },
      {
        path:'disease',
        element:<Disease/>,
      },
      {
        path:'knowledeg',
        element:<Knowledeg/>,
      },
      {
        path:'user',
        element:<User/>,
      },
      {
        path:'video',
        element:<Video/>,
      },
      {
        path:'experience',
        element:<Experience/>,
      }
      
    ]
  }

]
export default routes;